/**
 */
package fUML.Semantics.Actions.IntermediateActions;

import fUML.Semantics.Classes.Kernel.Value;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Write Structural Feature Action Activation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * A write structural feature action activation is a structural feature action
 *                 activation for a write structural feature action.
 * <!-- end-model-doc -->
 *
 *
 * @see fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage#getWriteStructuralFeatureActionActivation()
 * @model abstract="true"
 * @generated
 */
public interface WriteStructuralFeatureActionActivation extends StructuralFeatureActionActivation {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * // Return the position (counting from 1) of the first occurance of the given
	 *                   value in the given list at or after the starting index, or 0 if it is not
	 *                   found.
	 *  
	 *  boolean found = false;
	 *  int i =
	 *                   startAt;
	 *  while (!found & i <= list.size()) {
	 *                   found = list.getValue(i-1).equals(value);
	 *  i = i + 1;
	 *  }
	 *                   
	 *  if (!found) {
	 *  i = 1;
	 *  }
	 *  
	 *  return i -
	 *                   1;
	 *  
	 * <!-- end-model-doc -->
	 * @model required="true" ordered="false" valueRequired="true" valueOrdered="false" listMany="true" listOrdered="false" startAtRequired="true" startAtOrdered="false"
	 * @generated
	 */
	int position(Value value, EList<Value> list, int startAt);

} // WriteStructuralFeatureActionActivation
